package com.saifei.match.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author Genius小凡
 * @since 2021-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SaifeiMatch对象", description="")
public class SaifeiMatch implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "比赛id")
    @TableId(value = "match_id", type = IdType.ASSIGN_ID)
    private String matchId;

    @ApiModelProperty(value = "比赛名称")
    private String matchName;

    @ApiModelProperty(value = "比赛图片")
    private String matchImage;

    @ApiModelProperty(value = "简介")
    private String matchBrief;

    @ApiModelProperty(value = "阅读量")
    private String matchRead;

    @ApiModelProperty(value = "报名量")
    private String matchJoined;

    @ApiModelProperty(value = "关注")
    private String matchConcern;

    @ApiModelProperty(value = "收藏")
    private String matchCollection;

    @ApiModelProperty(value = "结束时间")
    private Date matchEnd;

    @ApiModelProperty(value = "开始时间")
    private Date matchStart;

    @ApiModelProperty(value = "类型")
    private String matchType;

    @ApiModelProperty(value = "是否被删除")
    @TableLogic
    private String isDeleted;

    @ApiModelProperty(value = "等级")
    private String matchLevel;

}
